<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                template="../../Templates/SubFolderTemplate.xhtml"
                xmlns:p="http://primefaces.prime.com.tr/ui"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core">
    <ui:define name="head-title">
        <title>View Raw Material Supplier | Merlion's ERP System</title>
    </ui:define>
     

    <ui:define name="content">
      
            <p:panel id="panel" header="View Raw Material Supplier"> 
                <p:ajaxStatus style="width:16px;height:16px;">   
                    <f:facet name="start">   
                        <p:graphicImage value="http://www.primefaces.org:8080/showcase/design/ajaxloading.gif" /> 
                    </f:facet> 
 
                <f:facet name="complete">   
                        <h:outputText value="" />   
                    </f:facet>   
                </p:ajaxStatus>
                
                <h:outputText value="Pie Chart Test"/>
                <!--
                <p:pieChart value="chartSupplier.supplyItems" var="supplyItem" 
                            categoryField="#{supplyItem.supplyItemType}"
                            dataField="#{supplyItem.supplyItemPrice}" style="chartStyle"/>
                -->
                <p:pieChart model="#{chartSupplier.pieModel}" />
                
                  
                <h3>Line Chart</h3>  
                <p:lineChart model="#{chartSupplier.cartesianModel}" />  

                <h3>Bar Chart</h3>  
                <p:barChart model="#{chartSupplier.cartesianModel}" /> 
                
            </p:panel>
   
    </ui:define>

</ui:composition>

